PROJECTENGRAM

PERMUTATIONS

Tags: #◇Computer Science #◇STT101A #◇Conceptual #◇Permutations


◇Overview

A Permutation is an ordered arrangement of objects. Unlike combinations (where only membership in a subset matters), changing the sequence of selected elements in a permutation creates a distinct outcome: (A,B,C)≠(C,B,A)(A, B, C) \ne (C, B, A).

◇Key Definitions

  • Permutations of All nn Distinct Objects: P(n,n)=n!=n(n−1)(n−2)⋯2⋅1P(n, n) = n! = n(n-1)(n-2)\cdots 2 \cdot 1 (with 0!=10! = 1 by convention).
  • rr-Permutations of nn Distinct Objects (Without Replacement):
    P(n,r)=nPr=n(n−1)(n−2)⋯(n−r+1)=n!(n−r)!,0≤r≤nP(n, r) = {}_nP_r = n(n-1)(n-2)\cdots(n-r+1) = \frac{n!}{(n - r)!}, \quad 0 \le r \le n
  • Permutations of nn Objects with Indistinguishable Duplicates: n!n1!n2!⋯nk!\frac{n!}{n_1! n_2! \cdots n_k!}.
  • Circular Permutations of nn Distinct Objects: (n−1)!(n - 1)!.

◇Worked Example

Problem: A cybersecurity competition has 1010 finalist teams.

  1. In how many ways can 1st, 2nd, and 3rd place trophies be awarded?
    P(10,3)=10!(10−3)!=10×9×8=720P(10, 3) = \frac{10!}{(10-3)!} = 10 \times 9 \times 8 = 720
  2. In how many ways can 66 speakers be scheduled in 66 consecutive time slots if Speaker A and Speaker B must speak consecutively (back-to-back)?
    • Treat {A,B}\{A, B\} as a single fused block, giving 55 units to permute in 5!=1205! = 120 ways, and multiply by 2!=22! = 2 internal orderings (ABAB or BABA): 5!×2!=2405! \times 2! = 240.

◇References & Navigation

CONFIRMATION // 理解度の確認

ACTIVE RECALL VERIFICATION

Select an answer to verify conceptual comprehension and reveal the technical rationale.

Q1

What is the value of P(8,3)P(8, 3)?

Q2

Why is 0!0! defined to equal 11 in combinatorics?

Q3

In how many ways can 55 distinct books be arranged on a shelf if 22 specific books (Book X and Book Y) must never be placed next to each other?

Q4

How many ways can 66 people be seated around a circular conference table if rotations of the same seating arrangement are considered identical?

Q5

Which problem requires Permutations (P(n,r)P(n, r)) rather than Combinations ((nr)\binom{n}{r})?

Permutations | PROJECT ENGRAM